<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>beagleoncreate: D:/backups/Desktop/beagleoncreate/trunk/camera/Camera.h File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">beagleoncreate
   
   </div>
   <div id="projectbrief">Beagleboard sensor interface on iRobot Create with sonar and USB webcam through WiFi</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('_camera_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#define-members">Defines</a>  </div>
  <div class="headertitle">
<div class="title">D:/backups/Desktop/beagleoncreate/trunk/camera/Camera.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;sys/socket.h&gt;</code><br/>
<code>#include &lt;netinet/in.h&gt;</code><br/>
<code>#include &lt;netdb.h&gt;</code><br/>
<code>#include &lt;gst/gst.h&gt;</code><br/>
<code>#include &lt;gst/app/gstappsink.h&gt;</code><br/>
<code>#include &lt;gst/app/gstappsrc.h&gt;</code><br/>
<code>#include &quot;opencv/cv.h&quot;</code><br/>
<code>#include &quot;opencv/highgui.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="_a_rtag_localizer_8h_source.html">ARtagLocalizer.h</a>&quot;</code><br/>
</div>
<p><a href="_camera_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_camera.html">Camera</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The class that does everything related to the vision sensor. Using gstreamer in this class.  <a href="class_camera.html#details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a8a436a08fe7e864da5d77e78252a9b54">VIDEO_PORT</a>&#160;&#160;&#160;8855</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#aea66ebdaea77072236b4027ffb017fde">ARTAG_PORT</a>&#160;&#160;&#160;8844</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#aa51930a4e04e2d581a8d56b7d6aa5992">APPSRCNAME</a>&#160;&#160;&#160;&quot;app-src_01&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a700619615c341c45fc9ad6c55e5206f1">APPSINKNAME</a>&#160;&#160;&#160;&quot;app-sink_01&quot;</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a6a5a49798a96db987404c8aa3b804fe3">IMG_WIDTH</a>&#160;&#160;&#160;320</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_camera_8h.html#a509566621a0b52524e800f69546c94be">IMG_HEIGHT</a>&#160;&#160;&#160;240</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"></div><hr/><h2>Define Documentation</h2>
<a class="anchor" id="a700619615c341c45fc9ad6c55e5206f1"></a><!-- doxytag: member="Camera.h::APPSINKNAME" ref="a700619615c341c45fc9ad6c55e5206f1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_camera_8h.html#a700619615c341c45fc9ad6c55e5206f1">APPSINKNAME</a>&#160;&#160;&#160;&quot;app-sink_01&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the app sink name for gstreamer. </p>

</div>
</div>
<a class="anchor" id="aa51930a4e04e2d581a8d56b7d6aa5992"></a><!-- doxytag: member="Camera.h::APPSRCNAME" ref="aa51930a4e04e2d581a8d56b7d6aa5992" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_camera_8h.html#aa51930a4e04e2d581a8d56b7d6aa5992">APPSRCNAME</a>&#160;&#160;&#160;&quot;app-src_01&quot;</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the app source name for gstreamer. </p>

</div>
</div>
<a class="anchor" id="aea66ebdaea77072236b4027ffb017fde"></a><!-- doxytag: member="Camera.h::ARTAG_PORT" ref="aea66ebdaea77072236b4027ffb017fde" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_camera_8h.html#aea66ebdaea77072236b4027ffb017fde">ARTAG_PORT</a>&#160;&#160;&#160;8844</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The udp port number for sending <a class="el" href="class_a_rtag.html" title="ARtag class which holds information like tag ID and pose matrix for the ARtag.">ARtag</a> id and pose info. </p>

</div>
</div>
<a class="anchor" id="a509566621a0b52524e800f69546c94be"></a><!-- doxytag: member="Camera.h::IMG_HEIGHT" ref="a509566621a0b52524e800f69546c94be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_camera_8h.html#a509566621a0b52524e800f69546c94be">IMG_HEIGHT</a>&#160;&#160;&#160;240</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the image height used for gstreamer. </p>

</div>
</div>
<a class="anchor" id="a6a5a49798a96db987404c8aa3b804fe3"></a><!-- doxytag: member="Camera.h::IMG_WIDTH" ref="a6a5a49798a96db987404c8aa3b804fe3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_camera_8h.html#a6a5a49798a96db987404c8aa3b804fe3">IMG_WIDTH</a>&#160;&#160;&#160;320</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set the image width used for gstreamer. </p>

</div>
</div>
<a class="anchor" id="a8a436a08fe7e864da5d77e78252a9b54"></a><!-- doxytag: member="Camera.h::VIDEO_PORT" ref="a8a436a08fe7e864da5d77e78252a9b54" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="_camera_8h.html#a8a436a08fe7e864da5d77e78252a9b54">VIDEO_PORT</a>&#160;&#160;&#160;8855</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The udp port number for sending the video stream to remote host. </p>

</div>
</div>
</div><!-- contents -->
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="_camera_8h.html">Camera.h</a>      </li>

    <li class="footer">Generated on Sun Feb 12 2012 18:23:34 for beagleoncreate by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
